using MudBlazor;

namespace BootBlazor.Servers.Extension;

public static class DialogResultExtensions
{
    public static bool IsOk(this DialogResult? result)
    {
        return result != null && !result.Canceled;
    }
}
